package com.sneakxy.mybase4j.base.fastdfs;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

import org.csource.common.MyException;

/**
 * @author 潜行的青衣
 * @see
 */
public interface IFastDfsClient {

	int deleteFile(String file_id) throws IOException, MyException;

	int downloadFile(String file_id, OutputStream out) throws IOException, MyException;

	String uploadFile(String group_name, InputStream is, long file_size, String file_ext_name)
			throws IOException, MyException;

	String uploadFile(InputStream is, long file_size, String file_ext_name) throws IOException, MyException;

}